import React from "react";
import { Button, Space, NavBar, Card, List } from "antd-mobile";
import { useSelector } from "react-redux";
function Index() {
  const { TickList } = useSelector((state) => state.TickpersonSlice);
  console.log(TickList);
  return (
    <div>
      <Card>
        <List header="基础用法">
          {TickList.map((item, index) => (
            <List.Item key={index} description={item.code}>
              {item.name}
            </List.Item>
          ))}
        </List>
      </Card>
    </div>
  );
}

export default Index;
